home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / UTILS / HSBASIC2.DMS / in.adf / HB2Examples1.3.Lha / Examples / IFF_8SVX / ReadMe < prev   
Encoding:
Text File  |  1994-04-29  |  1.3 KB  |  27 lines

  1. IFF_8svx.bas - Example of playing IFF sound samples
  2. ===================================================
  3.  
  4. This example shows the use of the IFFParse library to read a 8SVX sound sample
  5. and shows playing that sound sample via the Audio device. This does not handle
  6. 8SVX chunks that are musical instruments rather than sound samples.  
  7.  
  8. The program has too modes of operation. If you supply the program with
  9. a command line argument, it plays that sound sample. You can set this via the
  10. Program->Arguments menu item when running from the editor.
  11.  
  12. If you don't give this program a command line, it displays the ASL file requester
  13. and then "glues together" the full filename entered and calls a routine to play
  14. the sample. When you select Cancel the example closes the Audio device and quits.
  15.  
  16. The example will work on versions of Workbench 1.3 or later but note that
  17. iffparse.library is required under 1.3 and that the ASL file requester is not
  18. available under 1.3 either.
  19.  
  20. Compiling
  21. ---------
  22. Load the iff_8Svx.bh file and Tokenise it (Program-Tokenise), making
  23. sure you have no token file selected in the File Options (Settings-Compiler-
  24. Files). Once you have your token file, set the File Options-Token File setting
  25. to the iff_8svx_inc.t file just created. Load the iff_8svx.bas file,
  26. compile & run it.
  27.